﻿using System.Windows;
using System.Windows.Controls;
using Apps.Yunwei.YunWeiService;
namespace Apps.Yunwei.Views
{
    public partial class RoleDetail : ChildWindow
    {
        public RoleObject Contact
        {
            get { return (RoleObject)this.DataContext; }
        }

        public RoleDetail()
        {
            InitializeComponent();
        }

        private void OKButton_Click(object sender, RoutedEventArgs e)
        {
            this.DialogResult = true;
        }

        private void CancelButton_Click(object sender, RoutedEventArgs e)
        {
            this.DialogResult = false;
        }
    }
}